package com.zuo.mapper;

import com.zuo.entity.Doc;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author 白白旧维
 * @Date 2022/3/3 11:28
 */
public interface DocMapper {

    List<Doc> listDoc();

    List<Doc> searchDoc(@Param("dtitle") String dtitle);

    Doc getOne(int id);

    int updateDoc(Doc doc);

    int upload(Doc doc);

    int deleteDoc(Integer id);


}
